import {NgModel} from '@angular/forms';

import {RouteComponent} from '../pages/route/route_compoent';
import {RouterModule, Routes} from '@angular/router'
import {NgModule} from '@angular/core';
import {PipeComponent} from '../pages/pipe/pipe_component';

const appRoutes: Routes = [
  {path: 'pipe', component: PipeComponent},
  {path: 'route', component: RouteComponent}
];

@NgModule({
  imports: [
    RouterModule.forRoot(appRoutes)
  ],
  exports: [
    RouterModule
  ],
  providers: []
})
export class AppRouteModule {

constructor(){
}

}

